//
//  LoginView.h
//  pa
//
//  Created by HaiJiao Chen on 12-7-21.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import "ASINetworkQueue.h"

UIKIT_EXTERN NSString *const LoginSuccessfull;
@class CHJAlertView;
@interface LoginView : UIView <ASIHTTPRequestDelegate, HttpRequestDelegate>
{
    ASINetworkQueue* normalQuene;
    NSMutableArray* loginServers;
    NSMutableArray* tryServers;
    
    CHJAlertView* waittingView;
}

@property (nonatomic, assign) IBOutlet UITextField* user_name;
@property (nonatomic, assign) IBOutlet UITextField* truck_id;
@property (nonatomic, assign) IBOutlet UITextField* password;

- (IBAction)login:(id)sender;
- (IBAction)server:(id)sender;

@end
